{% extends "base.html" %}
{% block title %}{{image.name}}{% endblock %}
{% block main %}
<h2>图片查看</h2>
{% if image %}
<div id="showimg">
<a href='{{image.downurl}}' target="_black">
<img  src='{{image.downurl}}' alt='{{image.name}}' /></a>
<br />
<dl>
<dt><strong>图片信息:</strong></dt>
<dd>文件类型:  {{filetype}}</dd>
<dd>分辨率:  {{width}}*{{height}}</dd>
<dd>图片大小:  {{image.size}}</dd>
<dd>上传时间:  {{image.created_at}}</dd>
</dl>
</div>
<dl class="code">
<dt>复制分享地址: </dt>
<dd><input value="&lt;img src=&quot;{{image.downurl}}&quot;  /&gt;" name="blog" type="text" /></dd>
</dl>

{% endif %}
{% endblock %}
</body>
</html>
